package com.example.xpvideo.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 采购商用户表(PurchaseUsers)实体类
 *
 * @author 杨丽辉
 * @since 2021-07-14 16:07:38
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PurchaseUsers implements Serializable {
    private static final long serialVersionUID = -68123131470321288L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
        private Integer id;

    /**
    * 账号
    * isnull 0
    */            private String account;
    /**
    * 密码
    * isnull 0
    */            private String password;
    /**
    * 最后登录ip
    * isnull 0
    */            private String finalLoginIp;
    /**
    * 状态，0冻结，1正常
    * isnull 0
    */            private Integer stage;
    /**
    * 可用余额
    * isnull 0
    */            private BigDecimal balance;
    /**
    * 可用积分
    * isnull 0
    */            private BigDecimal integral;
    /**
    * 拥有优惠券数量
    * isnull 0
    */            private Integer couponCount;
    /**
    * 连续签到天数
    * isnull 0
    */            private Integer continuousSign;
    /**
    * 当月总签到天数
    * isnull 0
    */            private Integer totalContinuousSign;
    /**
    * 注册时间
    * isnull 0
    */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
            private LocalDateTime creatTime;
    /**
    * 最后更新信息时间
    * isnull 0
    */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
            private LocalDateTime updateTime;
    /**
    * 昵称
    * isnull 0
    */            private String nickname;
    /**
    * 最后登陆时间
    * isnull 0
    */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
            private LocalDateTime lastLoginTime;
    /**
    * 推荐码
    * isnull 0
    */            private String recommendCode;
    /**
    * 上级号码
    * isnull 0
    */            private String superAccount;
    /**
    * 头像
    * isnull 0
    */            private String avatar;
    /**
    * 综合评分
    * isnull 0
    */            private BigDecimal evaluate;
    /**
    * 商户状态，0未申请，1待审核，2已通过，3已过期
    * isnull 0
    */            private Integer merchantsStage;
    /**
    * 商户类型，1为供应商城商户，2为本地生活商户
    * isnull 0
    */            private Integer merchantsType;
    /**
    * 运营类型，1个人，2企业
    * isnull 0
    */            private Integer operationType;
    /**
    * 真实姓名
    * isnull 0
    */            private String realName;
    /**
    * 身份证正面
    * isnull 0
    */            private String idFront;
    /**
    * 身份证反面
    * isnull 0
    */            private String idBack;
    /**
    * 营业执照
    * isnull 0
    */            private String businessLicense;
    /**
    * 食品安全许可证
    * isnull 0
    */            private String foodLisense;
    /**
    * 店铺名称
    * isnull 0
    */            private String merchantsName;
    /**
    * 店铺简介
    * isnull 0
    */            private String merchantsInfo;
    /**
    * 店铺所在省份
    * isnull 0
    */            private String merchantsProvince;
    /**
    * 店铺所在城市
    * isnull 0
    */            private String merchantsCity;
    /**
    * 店铺所在县区
    * isnull 0
    */            private String merchantsStreet;
    /**
    * 店铺详细地址
    * isnull 0
    */            private String merchantsDetail;
    /**
    * 店铺联系方式
    * isnull 0
    */            private String merchantsPhone;
    /**
    * 描述相符评分
    * isnull 0
    */            private BigDecimal describeStar;
    /**
    * 服务评分
    * isnull 0
    */            private BigDecimal serviceStar;
    /**
    * 物流配送评分
    * isnull 0
    */            private BigDecimal shippingStar;
    /**
    * 关注度
    * isnull 0
    */            private Integer attentionCount;
    /**
    * 轮播图
    * isnull 0
    */            private String rolationPics;
    /**
    * 红包
    * isnull 0
    */            private BigDecimal redPackage;
    /**
    * 店铺头像
    * isnull 0
    */            private String img;
    /**
    * 入驻时间
    * isnull 0
    */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
            private LocalDateTime settledTime;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
        
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
        
    public String getFinalLoginIp() {
        return finalLoginIp;
    }

    public void setFinalLoginIp(String finalLoginIp) {
        this.finalLoginIp = finalLoginIp;
    }
        
    public Integer getStage() {
        return stage;
    }

    public void setStage(Integer stage) {
        this.stage = stage;
    }
        
    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }
        
    public BigDecimal getIntegral() {
        return integral;
    }

    public void setIntegral(BigDecimal integral) {
        this.integral = integral;
    }
        
    public Integer getCouponCount() {
        return couponCount;
    }

    public void setCouponCount(Integer couponCount) {
        this.couponCount = couponCount;
    }
        
    public Integer getContinuousSign() {
        return continuousSign;
    }

    public void setContinuousSign(Integer continuousSign) {
        this.continuousSign = continuousSign;
    }
        
    public Integer getTotalContinuousSign() {
        return totalContinuousSign;
    }

    public void setTotalContinuousSign(Integer totalContinuousSign) {
        this.totalContinuousSign = totalContinuousSign;
    }
        
    public LocalDateTime getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(LocalDateTime creatTime) {
        this.creatTime = creatTime;
    }
        
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
        
    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
        
    public LocalDateTime getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(LocalDateTime lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }
        
    public String getRecommendCode() {
        return recommendCode;
    }

    public void setRecommendCode(String recommendCode) {
        this.recommendCode = recommendCode;
    }
        
    public String getSuperAccount() {
        return superAccount;
    }

    public void setSuperAccount(String superAccount) {
        this.superAccount = superAccount;
    }
        
    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
        
    public BigDecimal getEvaluate() {
        return evaluate;
    }

    public void setEvaluate(BigDecimal evaluate) {
        this.evaluate = evaluate;
    }
        
    public Integer getMerchantsStage() {
        return merchantsStage;
    }

    public void setMerchantsStage(Integer merchantsStage) {
        this.merchantsStage = merchantsStage;
    }
        
    public Integer getMerchantsType() {
        return merchantsType;
    }

    public void setMerchantsType(Integer merchantsType) {
        this.merchantsType = merchantsType;
    }
        
    public Integer getOperationType() {
        return operationType;
    }

    public void setOperationType(Integer operationType) {
        this.operationType = operationType;
    }
        
    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }
        
    public String getIdFront() {
        return idFront;
    }

    public void setIdFront(String idFront) {
        this.idFront = idFront;
    }
        
    public String getIdBack() {
        return idBack;
    }

    public void setIdBack(String idBack) {
        this.idBack = idBack;
    }
        
    public String getBusinessLicense() {
        return businessLicense;
    }

    public void setBusinessLicense(String businessLicense) {
        this.businessLicense = businessLicense;
    }
        
    public String getFoodLisense() {
        return foodLisense;
    }

    public void setFoodLisense(String foodLisense) {
        this.foodLisense = foodLisense;
    }
        
    public String getMerchantsName() {
        return merchantsName;
    }

    public void setMerchantsName(String merchantsName) {
        this.merchantsName = merchantsName;
    }
        
    public String getMerchantsInfo() {
        return merchantsInfo;
    }

    public void setMerchantsInfo(String merchantsInfo) {
        this.merchantsInfo = merchantsInfo;
    }
        
    public String getMerchantsProvince() {
        return merchantsProvince;
    }

    public void setMerchantsProvince(String merchantsProvince) {
        this.merchantsProvince = merchantsProvince;
    }
        
    public String getMerchantsCity() {
        return merchantsCity;
    }

    public void setMerchantsCity(String merchantsCity) {
        this.merchantsCity = merchantsCity;
    }
        
    public String getMerchantsStreet() {
        return merchantsStreet;
    }

    public void setMerchantsStreet(String merchantsStreet) {
        this.merchantsStreet = merchantsStreet;
    }
        
    public String getMerchantsDetail() {
        return merchantsDetail;
    }

    public void setMerchantsDetail(String merchantsDetail) {
        this.merchantsDetail = merchantsDetail;
    }
        
    public String getMerchantsPhone() {
        return merchantsPhone;
    }

    public void setMerchantsPhone(String merchantsPhone) {
        this.merchantsPhone = merchantsPhone;
    }
        
    public BigDecimal getDescribeStar() {
        return describeStar;
    }

    public void setDescribeStar(BigDecimal describeStar) {
        this.describeStar = describeStar;
    }
        
    public BigDecimal getServiceStar() {
        return serviceStar;
    }

    public void setServiceStar(BigDecimal serviceStar) {
        this.serviceStar = serviceStar;
    }
        
    public BigDecimal getShippingStar() {
        return shippingStar;
    }

    public void setShippingStar(BigDecimal shippingStar) {
        this.shippingStar = shippingStar;
    }
        
    public Integer getAttentionCount() {
        return attentionCount;
    }

    public void setAttentionCount(Integer attentionCount) {
        this.attentionCount = attentionCount;
    }
        
    public String getRolationPics() {
        return rolationPics;
    }

    public void setRolationPics(String rolationPics) {
        this.rolationPics = rolationPics;
    }
        
    public BigDecimal getRedPackage() {
        return redPackage;
    }

    public void setRedPackage(BigDecimal redPackage) {
        this.redPackage = redPackage;
    }
        
    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }
        
    public LocalDateTime getSettledTime() {
        return settledTime;
    }

    public void setSettledTime(LocalDateTime settledTime) {
        this.settledTime = settledTime;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"account\":" + account +
                            " ,\"password\":" + password +
                            " ,\"finalLoginIp\":" + finalLoginIp +
                            " ,\"stage\":" + stage +
                            " ,\"balance\":" + balance +
                            " ,\"integral\":" + integral +
                            " ,\"couponCount\":" + couponCount +
                            " ,\"continuousSign\":" + continuousSign +
                            " ,\"totalContinuousSign\":" + totalContinuousSign +
                            " ,\"creatTime\":" + creatTime +
                            " ,\"updateTime\":" + updateTime +
                            " ,\"nickname\":" + nickname +
                            " ,\"lastLoginTime\":" + lastLoginTime +
                            " ,\"recommendCode\":" + recommendCode +
                            " ,\"superAccount\":" + superAccount +
                            " ,\"avatar\":" + avatar +
                            " ,\"evaluate\":" + evaluate +
                            " ,\"merchantsStage\":" + merchantsStage +
                            " ,\"merchantsType\":" + merchantsType +
                            " ,\"operationType\":" + operationType +
                            " ,\"realName\":" + realName +
                            " ,\"idFront\":" + idFront +
                            " ,\"idBack\":" + idBack +
                            " ,\"businessLicense\":" + businessLicense +
                            " ,\"foodLisense\":" + foodLisense +
                            " ,\"merchantsName\":" + merchantsName +
                            " ,\"merchantsInfo\":" + merchantsInfo +
                            " ,\"merchantsProvince\":" + merchantsProvince +
                            " ,\"merchantsCity\":" + merchantsCity +
                            " ,\"merchantsStreet\":" + merchantsStreet +
                            " ,\"merchantsDetail\":" + merchantsDetail +
                            " ,\"merchantsPhone\":" + merchantsPhone +
                            " ,\"describeStar\":" + describeStar +
                            " ,\"serviceStar\":" + serviceStar +
                            " ,\"shippingStar\":" + shippingStar +
                            " ,\"attentionCount\":" + attentionCount +
                            " ,\"rolationPics\":" + rolationPics +
                            " ,\"redPackage\":" + redPackage +
                            " ,\"img\":" + img +
                            " ,\"settledTime\":" + settledTime +
                  '}';
    }


}
